#ifndef ENTITY_PROPERTY_H_H_H_
#define ENTITY_PROPERTY_H_H_H_

#include "ViewProvider.h"
#include <vector>


class EntityProperty : public  Gui::ViewProvider
{

	PROPERTY_HEADER(EntityProperty);
public:
	EntityProperty();
	EntityProperty(const char* name);
	virtual~EntityProperty(void);

	virtual const char* name()const{return _name;}

	virtual void setProperty();

	virtual void addProperty(EntityProperty*);

public:
	virtual void addEntityProperty(){};

	virtual void onChange(){}

	virtual bool hasChild(){return false;}

private:

	const char* _name;

	std::vector<EntityProperty*> _topList;

};
#endif